home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3dm / audio / alPendingEvents.z / alPendingEvents
Encoding:
Text File  |  2002-10-03  |  2.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4. aaaallllPPPPeeeennnnddddiiiinnnnggggEEEEvvvveeeennnnttttssss((((3333ddddmmmm))))                                      aaaallllPPPPeeeennnnddddiiiinnnnggggEEEEvvvveeeennnnttttssss((((3333ddddmmmm))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      alPendingEvents - Get total number of event queued in event queue
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ddddmmmmeeeeddddiiiiaaaa////aaaauuuuddddiiiioooo....hhhh>>>>
  13.  
  14.      iiiinnnntttt aaaallllPPPPeeeennnnddddiiiinnnnggggEEEEvvvveeeennnnttttssss((((AAAALLLLeeeevvvveeeennnnttttQQQQuuuueeeeuuuueeee eeeevvvveeeennnnttttqqqq))))
  15.  
  16. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRR
  17.      _e_v_e_n_t_q   expects a valid AAAALLLLeeeevvvveeeennnnttttQQQQuuuueeeeuuuueeee initialized by
  18.               aaaallllOOOOppppeeeennnnEEEEvvvveeeennnnttttQQQQuuuueeeeuuuueeee((((3333ddddmmmm)))).
  19.  
  20.  
  21. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.      aaaallllPPPPeeeennnnddddiiiinnnnggggEEEEvvvveeeennnnttttssss((((3333ddddmmmm)))) Returns the total number of events queued up in
  23.      _e_v_e_n_t_q.  If the event queue is empty, it returns 0.
  24.  
  25. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  26.      Upon successful completion, aaaallllPPPPeeeennnnddddiiiinnnnggggEEEEvvvveeeennnnttttssss will return an int value with
  27.      the number of events queued in _e_v_e_n_t_q.  Otherwise, aaaallllPPPPeeeennnnddddiiiinnnnggggEEEEvvvveeeennnnttttssss
  28.      returns -1 and sets an error number which can be retrieved with
  29.      oooosssseeeerrrrrrrroooorrrr((((3333CCCC)))).
  30.  
  31.      aaaallllPPPPeeeennnnddddiiiinnnnggggEEEEvvvveeeennnnttttssss can fail for the following reason:
  32.  
  33.      AAAALLLL____BBBBAAAADDDD____IIIINNNNVVVVAAAALLLLIIIIDDDD____EEEEVVVVEEEENNNNTTTTQQQQ   _e_v_e_n_t_q is either invalid or null.
  34.  
  35. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  36.      alOpenEventQueue(3dm), oserror(3C)
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.